<?php

namespace app\interfaces\controller;
use app\interfaces\model\Store as StoreModel;
use think\Db;

use think\Request;

use think\Cache;

use think\Loader;

use think\Exception;

use app\mobile\model\Member as MobileMemberModel;

use app\interfaces\model\Config as ConfigModel;

use think\View;
class Store

{
	public function store_list()

    {
        // 获取参数

        try {

           
			$store_list = Db::name('shop')->where(['auding_status' => 2,'delete_time'=>'',])->field('id as shop_id,shop_title,shop_name')->select();
			return ['code' => 200, 'message' => '查询成功', 'data' =>$store_list];
        } catch (Exception $e) {

            return ['code' => $e->getCode(), 'message' => $e->getMessage()];

        }



    }
}

